﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BrokerBase.Lib.Policy;
using BrokerBase.Lib.Product;

namespace BrokerBase.Lib.Product
{
    public class ProductExpander : AbstractProductExpander
    {
        public override void Loaded(IPolicy policy)
        {
            policy.Amount = policy.Owner.BasicPolicy.Amount;
            policy.SetSettingLock("Amount", true);
        }

        public override bool IsDecimal
        {
            get
            {
                return true;
            }
        }
    }
}
